Get Time Price Data
gets the chart date for the symbol
Request to be POSTed to uri : /NorenWClientTP/TPSeries
Request Details :
Parameter Name | Possible value | Description |
---|---|---|
jData* | Should send json object with fields in below list | |
jKey* | Key Obtained on login success. |
Json Fields | Possible value | Description |
---|---|---|
uid* | Logged in User Id | |
exch* | Exchange | |
token* | ||
st | Start time (seconds since 1 jan 1970) | |
et | End Time (seconds since 1 jan 1970) | |
intrv | “1”, ”3”, “5”, “10”, “15”, “30”, “60”, “120”, “240” | Candle size in minutes (optional field, if not given assume to be “1”) |
Response Details :
Response data will be in json format in case for failure.
Json Fields | Possible value | Description |
---|---|---|
stat | Not_Ok | TPData failure indication. |
emsg | This will be present only in case of errors. |
Response data will be in json format in case for success.
Json Fields | Possible value | Description |
---|---|---|
stat | Ok | TPData success indication. |
time | DD/MM/CCYY hh:mm:ss | |
into | Interval open | |
inth | Interval high | |
intl | Interval low | |
intc | Interval close | |
intvwap | Interval vwap | |
intv | Interval volume | |
v | volume | |
intoi | Interval io change | |
oi | oi |
Sample Success Response :
[
{
"stat":"Ok",
"time":"02-06-2020 15:46:23",
"into":"0.00",
"inth":"0.00",
"intl":"0.00",
"intc":"0.00",
"intvwap":"0.00",
"intv":"0",
"intoi":"0",
"v":"980515",
"oi":"128702"
},
{
"stat":"Ok",
"time":"02-06-2020 15:45:23",
"into":"0.00",
"inth":"0.00",
"intl":"0.00",
"intc":"0.00",
"intvwap":"0.00",
"intv":"0",
"intoi":"0",
"v":"980515",
"oi":"128702"
},
{
"stat":"Ok",
"time":"02-06-2020 15:44:23",
"into":"0.00",
"inth":"0.00",
"intl":"0.00",
"intc":"0.00",
"intvwap":"0.00",
"intv":"0",
"intoi":"0",
"v":"980515",
"oi":"128702"
},
{
"stat":"Ok",
"time":"02-06-2020 15:43:23",
"into":"1287.00",
"inth":"1287.00",
"intl":"0.00",
"intc":"1287.00",
"intvwap":"128702.00",
"intv":"4",
"intoi":"128702",
"v":"980515",
"oi":"128702"
},
{
"stat":"Ok",
"time":"02-06-2020 15:42:23",
"into":"0.00",
"inth":"0.00",
"intl":"0.00",
"intc":"0.00",
"intvwap":"0.00",
"intv":"0",
"intoi":"0",
"v":"980511",
"oi":"128702"
}
]
Sample Failure Response :
{
"stat":"Not_Ok",
"emsg":"Session Expired : Invalid Session Key"
}